package com.atguigu.security.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.time.Instant;

@Table(name = "t_user_role")
public class TUserRole {
    @Id
    private Long id;
    private Long userId;
    private Long roleId;
    private Instant createTime;
    private Instant updateTime;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Long getRoleId() {
		return roleId;
	}
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
	public Instant getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Instant createTime) {
		this.createTime = createTime;
	}
	public Instant getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Instant updateTime) {
		this.updateTime = updateTime;
	}

}
